package org.lee.obs.event.listener;

import lombok.extern.slf4j.Slf4j;
import org.lee.obs.LotteryResult;

/**
 * MQEventListener
 *
 * @author dralee
 * @date 2021-11-23 18:45:38
 **/
@Slf4j
public class MQEventListener implements EventListener {
    @Override
    public void notify(LotteryResult result) {
        log.info("MQ记录用户{} 摇号结果：{}", result.getUId(), result.getMessage());
    }
}
